package com.zjf.util;

import java.util.Random;

public class CheckCode {
	private static final String CODES="1234567890abcdefghijklmnopqrstuvwxyz";
	
	public static String getCode(){
		Random r = new Random();
		String code="";
		for(int i=0;i<4;i++){
			code+=CODES.charAt(r.nextInt(CODES.length()));
		}
		return code;
		
	}
	
}
